﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DB_NH.DB_Model.VideoDownload
{
    /// <summary>
    /// 视频监控服务器信息
    /// </summary>
    public class VideoServer : Entity
    {
        /// <summary>
        /// 服务器名称
        /// </summary>
        public virtual string Name { get; set; }

        /// <summary>
        /// 服务器IP
        /// </summary>
        public virtual string Host { get; set; }

        /// <summary>
        /// 服务器端口
        /// </summary>
        public virtual string Port { get; set; }

        /// <summary>
        /// 服务器登录名
        /// </summary>
        public virtual string UserName { get; set; }

        /// <summary>
        /// 服务器登录密码
        /// </summary>
        public virtual string Password { get; set; }

        /// <summary>
        /// 摄像机所属房间
        /// </summary>
        public virtual IList<VideoCamera> Cameras { get; set; }

        public VideoServer()
        {
            Cameras = new List<VideoCamera>();
        }
    }
}
